package com.upload.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

@FeignClient(value = "upload-provier")
public interface UploadHandlerService {

    @RequestMapping(value = "/file/upload",method = RequestMethod.GET)
    String uploadFile(@RequestParam(value = "multipartFile",required = false) MultipartFile[] multipartFile);

}
